import fetch from '@/util/fetch'
// queryConf
export function query_conf_post(options) {
  return fetch({
    url: 'backend/order_icon/query_conf',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// saveCreditScoreRule
export function save_conf_post(options) {
  return fetch({
    url: 'backend/order_icon/save_conf',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}
